Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Silicon Labs/Series1/MGM13/MGM13S02F512GA/PCNT0/TOP#0x0
Top Value Register
Counter Top Value
https://github.com/cmsis-svd/cmsis-svd-data